import request from '@/utils/request'


// 查询发展量排名
export function developVolume(query) {
  return request({
    url: '/api/topDetail',
    method: 'get',
    params: query
  })
}

// 查询核劵人数和过程管控
export function popular(query) {
  return request({
    url: '/api/popular',
    method: 'GET',
    params: query
  })
}

//查询顶部实施发展量
export function topTotal(query) {
  return request({
    url: '/api/topTotal',
    method: 'get',
    params: query
  })
}


//查询营销活动四个小区
export function communityOverviewList(query) {
  return request({
    url: '/system/top/getSpecificCommunitiesData',
    method: 'get',
    params: query
  })
}
//查询营销活动四个小区的数据合即顶部数据
export function communityOverviewListSum(query) {
  return request({
    url: '/system/top/getFourCommunitiesPackageSums',
    method: 'get',
    params: query
  })
}
//查询营销活动四个小区的详细数据
export function salesmanPackageDetails(query) {
  return request({
    url: 'system/top/getSalesmanPackageDetails',
    method: 'get',
    params: query
  })
}